package org.elephantt.webby;

/**
 * An object and a content type response. The object has "toString()" called on it for the response entity body.
 */
public class SimpleResponse {
  private final Object object;
  private final String contentType;

  public SimpleResponse(Object object, String contentType) {
    this.object = object;
    this.contentType = contentType;
  }

  public Object getObject() {
    return object;
  }

  public String getContentType() {
    return contentType;
  }
}
